package com.ddwl.schema.bo.user;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/4/30 14:48
 */
@ApiModel(description = "认证Bo")
@Setter
@Getter
public class AuthBo extends BaseBo {

    @ApiModelProperty("浏览器信息")
    private String userAgent;

    @ApiModelProperty(value = "姓名")
    private String realname;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty("性别")
    private Byte sex;

    @ApiModelProperty("AppId")
    private String appId;

    @ApiModelProperty(hidden = true)
    private String userId;

    @ApiModelProperty("微信手机号加密encryptedData")
    private String encryptedData;

    @ApiModelProperty("手机号码")
    private String mobile;
    @ApiModelProperty("手机验证码")
    private String smsCaptcha;

    @ApiModelProperty("微信手机号加密iv")
    private String iv;

    @ApiModelProperty("微信小程序sessionKey")
    private String sessionKey;

    @ApiModelProperty("邀请码")
    private String inviteCode;
    @ApiModelProperty("openId")
    private String openId;
    @ApiModelProperty("城市")
    private String city;
    @ApiModelProperty("省份")
    private String province;
    @ApiModelProperty("国家")
    private String country;
    @ApiModelProperty(value = "邀请人id")
    private String inviteId;
    @ApiModelProperty("设备来源")
    private String source;
    @ApiModelProperty("渠道 '1'：分销app，'2'：小程序，'3'：H5")
    private String channel;
    @ApiModelProperty(value = "通用ID")
    private String unionId;
    @ApiModelProperty(value = "门店ID")
    private String shopId;

}
